KeyEventParams

The DOM keyboard event parameters.

Types

Link copied to clipboard
class Builder
A builder of KeyEventParams.

Functions

Link copied to clipboard
open fun character(): String
Returns a UTF-8 character associated with the physical key, if it has a printed representation.
Link copied to clipboard
open fun domKeyCode(): DomKeyCode
Returns the code of the physical key used in the event.
Link copied to clipboard
open fun isBubbles(): Boolean
Returns true if the event bubbles up through the DOM.
Link copied to clipboard
open fun isCancelable(): Boolean
Returns true if the event can be canceled, and therefore prevented as if the event never happened.
Link copied to clipboard
open fun isTrusted(): Boolean
Returns true if the event is trusted, and therefore was generated by a user action.
Link copied to clipboard
Returns the key modifiers that are applied to the event.
Link copied to clipboard
Creates a new KeyEventParams builder.